﻿using Coldairarrow.Entity;
using Coldairarrow.Util;
using System;
using System.Threading.Tasks;

namespace Coldairarrow.IBusiness
{
    /// <summary>
    /// 盘点操作
    /// </summary>
    public interface ICheckOperation
    {
        /// <summary>
        /// 判断当时公司下是否有盘点单
        /// 盘点单是否在开始作业
        /// 是（true）
        /// 否（false）
        /// </summary>
        /// <param name="MaterialId">物料id</param>
        /// <param name="StorId">仓库id</param>
        /// <param name="LocalId">货位Id</param>
        /// <returns></returns>
        Task<CheckBool> GetTrueOrFalse(string MaterialId, string StorId, string LocalId);
    }

    public class CheckBool
    {
        public Boolean boolType { get; set; }
    }
}
